package com.cjy.runnable.demo4;

/**
 * @author Cheng JiYe
 * @description:
 * @date 2021/4/25 0:49
 */
public class ThreadSleepDemo {
  public static void main(String[] args) {
    // 实例化Runnable子类对象
    MyThread mt = new MyThread();
    // 实例化Thread对象
    Thread t = new Thread(mt, "线程");
    // 启动线程
    t.start();
  }
}
